import React, { Component, Fragment } from "react";

import { Tabs } from "antd";

// 合并页面
import CloudElasticIp from "./elasticIp";
import CloudCommonBandwidth from "./commonBandwidth";
import CloudNatGateway from "./natGateway";


const { TabPane } = Tabs;

class Index extends Component {
    constructor(props){
        super(props);  
        this.setState = {} 
    }

    render(){
        return (
            <Fragment>
                <Tabs defaultActiveKey="1">
                    <TabPane tab="NAT网关" key="1">
                        <CloudNatGateway />
                    </TabPane>
                    <TabPane tab="弹性IP" key="2">
                        <CloudElasticIp />
                    </TabPane>
                    <TabPane tab="共享带宽" key="3">
                        <CloudCommonBandwidth />
                    </TabPane>
                </Tabs>

            </Fragment>
        )
    }
}

export default Index;